package org.dromara.run.domain.bo;

import org.dromara.common.core.validate.OtherGroup;
import org.dromara.run.domain.RunList;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 阳光跑名单业务对象 phy_run_list
 *
 * @author chl
 * @date 2024-08-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = RunList.class, reverseConvertGenerate = false)
public class RunListBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class , OtherGroup.class})
    private Long listId;

    /**
     * 租户编号
     */
    private String tenantId;

    /**
     * 计划id
     */
//    @NotBlank(message = "计划id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String scheduleId;

    /**
     * 用户信息id
     */
//    @NotBlank(message = "用户信息id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String memberId;

    /**
     * 是否免测
     */
//    @NotBlank(message = "是否免测不能为空", groups = { AddGroup.class, EditGroup.class, OtherGroup.class })
    private String isFree;

    private String studentName;

    private String years;

    private String classId;

    private String gender;

    private String semester;

    private String collegeId;

    private String professionalId;

    private String scheduleName;

}
